﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;

namespace MaxZhang.EasyEntities.Dynamic.Aop
{
    /// <summary>
    /// AOP拦截器处理机上下文
    /// </summary>
    public class ProcessContext
    {
        /// <summary>
        /// 代理对象
        /// </summary>
        public object Proxy { set; get; }

        /// <summary>
        /// 被调用对象
        /// </summary>
        public object Target{set;get;}
        /// <summary>
        /// 被调用方法
        /// </summary>
        public MethodBase Method{set;get;}
        /// <summary>
        /// 被调用参数
        /// </summary>
        public object[] Parameters{get;set;}

        public object ReturnValue{get;set;}
    }
}
